Skip to content

ci(close-prs): surface bun exit code with ::warning:: on failure - #45321

Open
niStee wants to merge 1 commit into
anomalyco:devfrom
niStee:fix/opencode-close-prs-13
Open

ci(close-prs): surface bun exit code with ::warning:: on failure#45321
niStee wants to merge 1 commit into
anomalyco:devfrom
niStee:fix/opencode-close-prs-13

Conversation

@niStee

@niStee niStee commented Aug 26, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #42157

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Wraps the close-prs Bun invocation so a non-zero exit code emits a GitHub Actions warning annotation before the job exits. This makes GraphQL, token-scope, and script failures visible in the workflow summary without changing the script or success path.

How did you verify your code works?

Verified the branch contains one commit and changes only .github/workflows/close-prs.yml. The previous PR passed check-standards and check-compliance; this replacement uses the required template and links the tracking issue.

Screenshots / recordings

Not applicable; this is a workflow-only change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Wrap the bun script invocation so a non-zero exit code emits a
::warning:: annotation visible in the run log, making the failure
mode (GraphQL error, token-scope error, unhandled exception) easier
to diagnose without reading the full log.

Triage ref: niStee/opencode — close-prs (run #13)
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title ci(close-prs): surface bun exit code with ::warning:: on failure doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: close-prs workflow failures are silent in the run log — no ::warning:: annotation

1 participant